﻿using LoveEatRabbit.API.Read.DTOS;
using LoveEatRabbit.ErrorCode;
using MediatR;

namespace LoveEatRabbit.API.Read.Applications.Commands.Roles
{
    public class RolePerQueryCommand : IRequest<APIResult<APIPaging<RolePerDTO>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int Indpage { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int Pagsize { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }
    }
}
